<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>管理后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="H.Joeson" name="Copyright" />
<link rel="stylesheet" href="<?php echo __PUBLIC__;?>/admin/style.css" type="text/css" media="all" />
<script src="<?php echo __PUBLIC__;?>/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo __PUBLIC__;?>/admin/admin.js" type="text/javascript"></script>
</head>

<body>
<div id="main">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="mainleft" valign="top">
    <table width="100%" height="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top" height="90px">
                <div class="logo"></div>
            </td>
        </tr>
        <tr>
            <td valign="top" class="submenu">
                <ul id="menu1">
                    <li class="selected">常用操作</li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Users" target="main">○ 用户管理</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Cache" target="main">○ 缓存管理</a></li>
                </ul>
                <ul id="menu2" style="display:none">
                    <li class="selected">全局设置</li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/index" target="main">○ 网站设置</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/mail" target="main">○ 邮件设置</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/switchs" target="main">○ 网站开关</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/badword" target="main">○ 屏蔽管理</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/sidebox" target="main">○ 侧边栏设置</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/shorturl" target="main">○ 短域名设置</a></li>
                </ul>
                <ul id="menu3" style="display:none">
                    <li class="selected">用户管理</li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Users" target="main">○ 用户编辑</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Users/admin" target="main">○ 管理员管理</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Theme" target="main">○ 模版管理</a></li>
                </ul>
                <ul id="menu5" style="display:none">
                    <li class="selected">其他设置</li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Cache" target="main">○ 缓存管理</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Topic" target="main">○ 话题管理</a></li>
                    <li><a href="<?php echo SITE_URL;?>/admin.php?s=/Setting/about" target="main">○ 关于我们设置</a></li>
                </ul>
                <div class="copyright">
                <p>天堂皓月</p>
                </div>
            </td>
        </tr>
    </table>
</td>
<td valign="top" class="mainright">
    <table width="100%" height="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top" height="90px" class="maintop">
                <div class="topmenu">
                    <ul id="navi">
                        <li class="current"><a id="tab1" href="<?php echo SITE_URL;?>/admin.php?s=/Index/setindex" target="main">首页</a></li>
                        <li><a id="tab2" href="<?php echo SITE_URL;?>/admin.php?s=/Setting/index" target="main">全局设置</a></li>
                        <li><a id="tab3" href="<?php echo SITE_URL;?>/admin.php?s=/Users" target="main">用户管理</a></li>
                        <li><a id="tab4" href="http://localhost/phpmyadmin" target="blank">PHPMyAdmin</a></li>
                        <li><a id="tab5" href="<?php echo SITE_URL;?>/admin.php?s=/Cache" target="main">其他设置</a></li>
                    </ul>
                </div>
                <div class="loginadmin">您好，<b><?php echo ($admin['nickname']); ?></b>&nbsp;&nbsp;<a href="<?php echo SITE_URL;?>/admin.php?s=/Login/logout">[退出]</a>，<a href="<?php echo SITE_URL;?>">[返回前台]</a></div>
            </td>
        </tr>
        <tr>
            <td valign="top" class="mainbody">
               <iframe src="<?php echo SITE_URL;?>/admin.php?s=/Index/setindex" name="main" width="100%" height="100%" frameborder="0" scrolling="yes" style="overflow: visible;"></iframe>
            </td>
        </tr>
    </table>
</td>
<tr>
</table>
<div class="clearline"></div>
</div>
</body>
</html>